/***************************************************************************
 *   This is a part of the NextCAD Web APP.                                *
 *   Copyright (C) AMCAX, All rights reserved.                             *
 ***************************************************************************/

import { CSCircle, CSLine, css2dInputLable } from '@amcax/base';

export enum State {
  NONE,
  DRAW,
  FINISH,
}
export type MouseState = State.NONE | State.DRAW | State.FINISH;

export type MousePoint = {
  x: number;
  y: number;
};

export interface TrackingData {
  circle: CSCircle;
  rLine: CSLine;
  rLabel: css2dInputLable;
}
export interface SketchReturn {
  added: string[];
  removed: string[];
  changed: string[];
}
